package com.exam.Mapper;

import com.exam.Entity.AnswerInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AnswerInfoMapper{
    @Select("select * from answer_info")
    @Result(property = "isCorrect", column = "isCorrect", javaType = Boolean.class)
    List<AnswerInfo> findAll();
}
